package com.game.service.beans;

import java.util.Arrays;

public class UserInfo {
    //个人信息
    public   String name;//玩家昵称
    public   int id;//玩家ID
    public   long score;//玩家携带分数
    public   String mac;//机器码

    /**1在线,1000,主动离开,0表示空闲状态可以切换直播间*/
    public   int status;
    //押注信息===========================
    public   int select;//选择类型,0.没有选择;1,选大;2,选小;--每局会清零
    public   long betScore;//投注分数,--每局会清零
    public   long betScoreTotal;
    public   int liveid;//主播房间
    public   String stream;//主播场次
    //
//    public   long bigBetScore;//投注分数,--每局会清零
//    public   long bigBetScoreTotal;
//
//    public   long smallBetScore;//投注分数,--每局会清零
//    public   long smallBetScoreTotal;


    /**客户端下单，游戏服务接到使用的ID*/
    public   int betId;
    /**服务器确认下单成功，游戏服务接受的ID*/
    public   int betReturnId;
    //游戏结果信息,主要是游戏记录使用
    public   String gameId;//游戏场次编号
    public   int[] points=new int[]{1,1,1};//游戏骰子结果
    public   long winScore;//得分情况

    @Override
    public String toString() {
        return "UserInfo{" +
                "name='" + name + '\'' +
                ", id=" + id +
                ", score=" + score +
                ", mac='" + mac + '\'' +
                ", status=" + status +
                ", select=" + select +
                ", betScore=" + betScore +
                ", betScoreTotal=" + betScoreTotal +
                ", liveid=" + liveid +
                ", stream='" + stream + '\'' +
                ", betId=" + betId +
                ", betReturnId=" + betReturnId +
                ", gameId='" + gameId + '\'' +
                ", points=" + Arrays.toString(points) +
                ", winScore=" + winScore +
                '}';
    }
}
